package com.moon.entity;

/**
 * 账户实体类
 *
 * @author MoonZero
 */
public class Account {
    private Integer id;
    private String name;
    private Float money;

    public Account() {
        super();
    }

    public Account(Integer id, String name, Float money) {
        super();
        this.id = id;
        this.name = name;
        this.money = money;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Float getMoney() {
        return money;
    }

    public void setMoney(Float money) {
        this.money = money;
    }

    @Override
    public String toString() {
        return "Account [id=" + id + ", name=" + name + ", money=" + money + "]";
    }

}
